<?php

function node_cache_settings() {
  
  $form['cache_node_load'] = array(
    '#type' => 'checkbox',
    '#title' => t('Make node_load cachable'),
    '#description' => t('Choose wheter to enable caching of node_load function'),
    '#default_value' => variable_get('cache_node_load', TRUE),
    '#size' => 2
  );
  $form['cache_product_view'] = array(
    '#type' => 'checkbox',
    '#title' => t('Make product_view cachable'),
    '#description' => t('Choose wheter to enable caching for product_view function'),
    '#default_value' => variable_get('cache_product_view', TRUE),
    '#size' => 2
  );

  return system_settings_form($form);
}